package com.db.product.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.db.core.dto.PageDto;
import com.db.deviceType.dto.DeviceTypePageDto;
import com.db.deviceType.entity.DeviceType;
import com.db.product.dto.ProductPageDto;
import com.db.product.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 产品表 Mapper 接口
 * </p>
 *
 * @author vodka
 * @since 2023-10-27
 */
public interface ProductMapper extends BaseMapper<Product> {

    List<Product> page(@Param("productPageDto") ProductPageDto productPageDto, @Param("start") Long start);
}
